package view;

import java.text.ParseException;
import java.text.SimpleDateFormat;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

public class CopyOfProductActionForm extends ActionForm {
	private String id = null;
	private String name = null;
	private String price = null;
	private String make = null;
	private String expire = null;
	private String prodaction = null;

	@Override
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		ActionErrors errors = new ActionErrors();

		return errors;
	}

	public String getProdaction() {
		return prodaction;
	}

	public void setProdaction(String prodaction) {
		this.prodaction = prodaction;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		if (id != null && id.length() != 0) {
			this.id = id;
		}

	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		if (name != null && name.length() != 0) {
			this.name = name;
		}

	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {

		if (price != null && price.length() != 0) {
			this.price = price;
		}
	}

	public String getMake() {
		return make;
	}

	public void setMake(String make) {
		if (make != null && make.length() != 0) {
			this.make = make;
		}

	}

	public String getExpire() {
		return expire;
	}

	public void setExpire(String expire) {
		if (expire != null && expire.length() != 0) {
			this.expire = expire;
		}

	}

}
